package com.aeoj.domain.management;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aeoj.common.annotation.Excel;
import com.aeoj.common.core.domain.BaseEntity;

/**
 * 房间信息对象 aeoj_room
 * 
 * @author sm
 * @date 2025-04-01
 */
public class Room extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 标签 */
    @Excel(name = "标签")
    private String tags;

    /** 人数限制 */
    @Excel(name = "人数限制")
    private Long maxMembers;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 密码 */
    private String password;

    /** 删除标记 */
    private Long deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }

    public void setMaxMembers(Long maxMembers) 
    {
        this.maxMembers = maxMembers;
    }

    public Long getMaxMembers() 
    {
        return maxMembers;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("avatar", getAvatar())
            .append("description", getDescription())
            .append("tags", getTags())
            .append("maxMembers", getMaxMembers())
            .append("type", getType())
            .append("password", getPassword())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
